<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		function test01(){
			var isEat = window.confirm("你早上吃了吗？");
			if(isEat){
				console.log("吃了，再吃点");
			}else{
				console.log("没吃，回家吃去吧");
			}
		}
		function test02(){
			var myname = prompt("请输入你的名字","某某");
			console.log(myname);
		}
		function test03(){
			window.open("http://www.baidu.com","abc","");
		}
		function test04(){
			window.open("http://www.sougou.com","abc","");
		}
		// 窗口跳转到指定地址
		function test05(){
			window.location.href="dangdang/shopping.html";
		}
	</script>
</html>
